"use client";

import Info from "./info";
import Toolbar from "./toolbar";
import Participants from "./participants";

interface CanvasProps {
  boardId: string;
}

/**
 * 编辑器画布结构组件
 */
export const Canvas = ({ boardId }: CanvasProps) => {
  return (
    <main className="w-full h-full relative bg-neutral-100 touch-none">
      <Info />
      <Participants />
      <Toolbar />
    </main>
  );
};
